﻿<Window x:Class="Serietheque.Fenetres.AddSerie"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Nouvelle Serie" MinWidth="250" SizeToContent="WidthAndHeight">
    <Grid x:Name="mainGrid">
        <StackPanel Margin="5">
            <StackPanel>
                <Label Content="Nom :" HorizontalAlignment="Left" Margin="0"/>
                <TextBox x:Name="SerieName" Text="{Binding Name, Mode=TwoWay}" Margin="5,0"/>
            </StackPanel>
            <Button Content="Chercher TheTvdb" HorizontalAlignment="Left" Margin="5" Click="SearchTvdb_Click"/>
            <StackPanel Margin="5">
                <Label Content="{Binding Name}"/>
                <Label Content="{Binding AirDate}"/>
                <Label Content="{Binding Live}"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Height="23" Margin="5,0,5,5">
                <Button Content="Fermer" x:Name="fermerBtn" Width="75" IsCancel="True" Click="FermerBtn_Click" Height="23" VerticalAlignment="Bottom" />
                <Button Content="Choisir" x:Name="Ok" Width="75" Click="OkBtn_Click" Margin="5,0,5,0" IsDefault="True"/>
                <!--<Button Content="No Tvdb" x:Name="sansTvdbBtn" Width="75" Click="sansTvdbBtn_Click" />-->
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
